/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.tmd.controlefinanceiro.bean;

import java.awt.event.ActionEvent;
import java.io.IOException;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author luis
 */
@ManagedBean
@RequestScoped
public class CalculadoraBean {

    public void actionPerformed(ActionEvent e) {
        try {
            Runtime.getRuntime().exec("cmd.exe /C start calc.exe"); 
        } catch (IOException e1) {
            System.err.println(e1.getMessage());
        }
    }

}
